
from django.conf.urls import url
from rbac import views

urlpatterns = [
    url(r'^login/$', views.login),
    url(r'^logout/$', views.logout),
    url(r'^reset/$', views.reset),
    url(r'^users/$', views.users),
    url(r'^userinfo/$', views.userinfo),
    url(r'^users/add/$', views.user_add),
    url(r'^users/delete/(\d+)/', views.user_delete),
    url(r'^users/edit/(\d+)/', views.user_edit),
    url(r'^roles/', views.roles),
    url(r'^roles/add/', views.add_role),
    url(r'^roles/delete/(\d+)/', views.del_role),
    url(r'^roles/edit/(\d+)/', views.edit_role),
    url(r'^perm_info/', views.perm_info),
    url(r'^permssion/$', views.permssion),
]
